#function: build CentOS6 nginx server
#parmeter:
#author: yeslf
#version: 1.0
#Test:

FROM 172.27.1.200:5000/lchub/lccentos6:base
MAINTAINER yeslf yeslf@xxx.com


#install nginx
RUN yum install -y  initscripts nginx ;yum clean all ;


EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]




